package com.fw.service.persistence.dto;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import org.springframework.data.jpa.domain.AbstractPersistable;

@Entity
public class ServiceProfile extends AbstractPersistable<Long> {
    
    public static final String SERVICE_TYPE_CASH = "ServiceProfile.SERVICE_TYPE_CASH";
    

    public static final String STATUS_ACTIVE = "ServiceProfile.STATUS_ACTIVE";
    public static final String STATUS_SUSPENED = "ServiceProfile.STATUS_SUSPENED";
    public static final String STATUS_INACTIVE = "ServiceProfile.STATUS_INACTIVE";
    public static final String STATUS_CLOSED = "ServiceProfile.STATUS_CLOSED";

    private static final long serialVersionUID = 1L;

    @ManyToOne(fetch=FetchType.EAGER)
    @JoinColumn(name="merchant_id")
    private MerchantProfile merchantProfile;
    
    private String serviceId;
    private String merchantId;
    private String serviceStatus;
    private String host;
    private Boolean isBankGuarantee;
    private String bankGuarantee;
    private String bankGuaranteeExpireDate;
    private String chequeName;
    private String launchedDate;
    private Boolean isResponseUrlBack;
    private String responseUrlBack;
    private Boolean isSuccessUrl;
    private String successUrl;
    private Boolean isFailUrl;
    private String failUrl;
    private Boolean isCancelUrl;
    private String cancelUrl;
    private Boolean isNotifyCustomer;
    private Boolean isTestService;
    private String invoiceAging;
    private Boolean isBypassInvoiceAging;
    private String bankCodeAndName;
    private String bankAccountNo;
    private String sapArCode;
    private String sapApCode;
    private String messageSlip1;
    private String messageSlip2;
    private String mdr;
    private String serviceFee;
    private String dailyLimit;
    private String monthlyLimit;
    private String transactionAmountLimit;
    private String contact1Name;
    private String contact1Phone;
    private String contact1Mobile;
    private String contact1Email;
    private String contact2Name;
    private String contact2Phone;
    private String contact2Mobile;
    private String contact2Email;
    private String contact3Name;
    private String contact3Phone;
    private String contact3Mobile;
    private String contact3Email;
    private String contact4Name;
    private String contact4Phone;
    private String contact4Mobile;
    private String contact4Email;
    private String createBy;
    private String createDate;
    private String lastUpdateBy;
    private String lastUpdateDate;
    
    private String serviceType;
    
    public String getServiceId() {
        return serviceId;
    }
    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }
    public String getMerchantId() {
        return merchantId;
    }
    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }
    public String getServiceStatus() {
        return serviceStatus;
    }
    public void setServiceStatus(String serviceStatus) {
        this.serviceStatus = serviceStatus;
    }
    public String getHost() {
        return host;
    }
    public void setHost(String host) {
        this.host = host;
    }
    public Boolean getIsBankGuarantee() {
        return isBankGuarantee;
    }
    public void setIsBankGuarantee(Boolean isBankGuarantee) {
        this.isBankGuarantee = isBankGuarantee;
    }
    public String getBankGuarantee() {
        return bankGuarantee;
    }
    public void setBankGuarantee(String bankGuarantee) {
        this.bankGuarantee = bankGuarantee;
    }
    public String getBankGuaranteeExpireDate() {
        return bankGuaranteeExpireDate;
    }
    public void setBankGuaranteeExpireDate(String bankGuaranteeExpireDate) {
        this.bankGuaranteeExpireDate = bankGuaranteeExpireDate;
    }
    public String getChequeName() {
        return chequeName;
    }
    public void setChequeName(String chequeName) {
        this.chequeName = chequeName;
    }
    public String getLaunchedDate() {
        return launchedDate;
    }
    public void setLaunchedDate(String launchedDate) {
        this.launchedDate = launchedDate;
    }
    public Boolean getIsResponseUrlBack() {
        return isResponseUrlBack;
    }
    public void setIsResponseUrlBack(Boolean isResponseUrlBack) {
        this.isResponseUrlBack = isResponseUrlBack;
    }
    public String getResponseUrlBack() {
        return responseUrlBack;
    }
    public void setResponseUrlBack(String responseUrlBack) {
        this.responseUrlBack = responseUrlBack;
    }
    public Boolean getIsSuccessUrl() {
        return isSuccessUrl;
    }
    public void setIsSuccessUrl(Boolean isSuccessUrl) {
        this.isSuccessUrl = isSuccessUrl;
    }
    public String getSuccessUrl() {
        return successUrl;
    }
    public void setSuccessUrl(String successUrl) {
        this.successUrl = successUrl;
    }
    public Boolean getIsFailUrl() {
        return isFailUrl;
    }
    public void setIsFailUrl(Boolean isFailUrl) {
        this.isFailUrl = isFailUrl;
    }
    public String getFailUrl() {
        return failUrl;
    }
    public void setFailUrl(String failUrl) {
        this.failUrl = failUrl;
    }
    public Boolean getIsCancelUrl() {
        return isCancelUrl;
    }
    public void setIsCancelUrl(Boolean isCancelUrl) {
        this.isCancelUrl = isCancelUrl;
    }
    public String getCancelUrl() {
        return cancelUrl;
    }
    public void setCancelUrl(String cancelUrl) {
        this.cancelUrl = cancelUrl;
    }
    public Boolean getIsNotifyCustomer() {
        return isNotifyCustomer;
    }
    public void setIsNotifyCustomer(Boolean isNotifyCustomer) {
        this.isNotifyCustomer = isNotifyCustomer;
    }
    public Boolean getIsTestService() {
        return isTestService;
    }
    public void setIsTestService(Boolean isTestService) {
        this.isTestService = isTestService;
    }
    public String getInvoiceAging() {
        return invoiceAging;
    }
    public void setInvoiceAging(String invoiceAging) {
        this.invoiceAging = invoiceAging;
    }
    public Boolean getIsBypassInvoiceAging() {
        return isBypassInvoiceAging;
    }
    public void setIsBypassInvoiceAging(Boolean isBypassInvoiceAging) {
        this.isBypassInvoiceAging = isBypassInvoiceAging;
    }
    public String getBankCodeAndName() {
        return bankCodeAndName;
    }
    public void setBankCodeAndName(String bankCodeAndName) {
        this.bankCodeAndName = bankCodeAndName;
    }
    public String getBankAccountNo() {
        return bankAccountNo;
    }
    public void setBankAccountNo(String bankAccountNo) {
        this.bankAccountNo = bankAccountNo;
    }
    public String getSapArCode() {
        return sapArCode;
    }
    public void setSapArCode(String sapArCode) {
        this.sapArCode = sapArCode;
    }
    public String getSapApCode() {
        return sapApCode;
    }
    public void setSapApCode(String sapApCode) {
        this.sapApCode = sapApCode;
    }
    public String getMessageSlip1() {
        return messageSlip1;
    }
    public void setMessageSlip1(String messageSlip1) {
        this.messageSlip1 = messageSlip1;
    }
    public String getMessageSlip2() {
        return messageSlip2;
    }
    public void setMessageSlip2(String messageSlip2) {
        this.messageSlip2 = messageSlip2;
    }
    public String getMdr() {
        return mdr;
    }
    public void setMdr(String mdr) {
        this.mdr = mdr;
    }
    public String getServiceFee() {
        return serviceFee;
    }
    public void setServiceFee(String serviceFee) {
        this.serviceFee = serviceFee;
    }
    public String getDailyLimit() {
        return dailyLimit;
    }
    public void setDailyLimit(String dailyLimit) {
        this.dailyLimit = dailyLimit;
    }
    public String getMonthlyLimit() {
        return monthlyLimit;
    }
    public void setMonthlyLimit(String monthlyLimit) {
        this.monthlyLimit = monthlyLimit;
    }
    public String getTransactionAmountLimit() {
        return transactionAmountLimit;
    }
    public void setTransactionAmountLimit(String transactionAmountLimit) {
        this.transactionAmountLimit = transactionAmountLimit;
    }
    public String getContact1Name() {
        return contact1Name;
    }
    public void setContact1Name(String contact1Name) {
        this.contact1Name = contact1Name;
    }
    public String getContact1Phone() {
        return contact1Phone;
    }
    public void setContact1Phone(String contact1Phone) {
        this.contact1Phone = contact1Phone;
    }
    public String getContact1Mobile() {
        return contact1Mobile;
    }
    public void setContact1Mobile(String contact1Mobile) {
        this.contact1Mobile = contact1Mobile;
    }
    public String getContact1Email() {
        return contact1Email;
    }
    public void setContact1Email(String contact1Email) {
        this.contact1Email = contact1Email;
    }
    public String getContact2Name() {
        return contact2Name;
    }
    public void setContact2Name(String contact2Name) {
        this.contact2Name = contact2Name;
    }
    public String getContact2Phone() {
        return contact2Phone;
    }
    public void setContact2Phone(String contact2Phone) {
        this.contact2Phone = contact2Phone;
    }
    public String getContact2Mobile() {
        return contact2Mobile;
    }
    public void setContact2Mobile(String contact2Mobile) {
        this.contact2Mobile = contact2Mobile;
    }
    public String getContact2Email() {
        return contact2Email;
    }
    public void setContact2Email(String contact2Email) {
        this.contact2Email = contact2Email;
    }
    public String getContact3Name() {
        return contact3Name;
    }
    public void setContact3Name(String contact3Name) {
        this.contact3Name = contact3Name;
    }
    public String getContact3Phone() {
        return contact3Phone;
    }
    public void setContact3Phone(String contact3Phone) {
        this.contact3Phone = contact3Phone;
    }
    public String getContact3Mobile() {
        return contact3Mobile;
    }
    public void setContact3Mobile(String contact3Mobile) {
        this.contact3Mobile = contact3Mobile;
    }
    public String getContact3Email() {
        return contact3Email;
    }
    public void setContact3Email(String contact3Email) {
        this.contact3Email = contact3Email;
    }
    public String getContact4Name() {
        return contact4Name;
    }
    public void setContact4Name(String contact4Name) {
        this.contact4Name = contact4Name;
    }
    public String getContact4Phone() {
        return contact4Phone;
    }
    public void setContact4Phone(String contact4Phone) {
        this.contact4Phone = contact4Phone;
    }
    public String getContact4Mobile() {
        return contact4Mobile;
    }
    public void setContact4Mobile(String contact4Mobile) {
        this.contact4Mobile = contact4Mobile;
    }
    public String getContact4Email() {
        return contact4Email;
    }
    public void setContact4Email(String contact4Email) {
        this.contact4Email = contact4Email;
    }
    public String getCreateBy() {
        return createBy;
    }
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    public String getCreateDate() {
        return createDate;
    }
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }
    public String getLastUpdateBy() {
        return lastUpdateBy;
    }
    public void setLastUpdateBy(String lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }
    public String getLastUpdateDate() {
        return lastUpdateDate;
    }
    public void setLastUpdateDate(String lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }
    public String getServiceType() {
        return serviceType;
    }
    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }
    public MerchantProfile getMerchantProfile() {
        return merchantProfile;
    }
    public void setMerchantProfile(MerchantProfile merchantProfile) {
        this.merchantProfile = merchantProfile;
    }

    
}
